package com.hksj.crsm.mapper;

import com.hksj.common.config.annotation.DS_TAOS;
import com.hksj.crsm.query.CrsmDailyAlarmQuery;
import com.hksj.crsm.query.CrsmSpecialityQuery;
import com.hksj.crsm.query.SpecifiedValueRecordQuery;
import com.hksj.crsm.vo.BarChartVO;
import com.hksj.crsm.vo.DailyPropertyAlarmNumVO;
import com.hksj.crsm.vo.PropertyAlarmNumVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CrsmMapper {
    @DS_TAOS
    List<BarChartVO> listWaterLeakageNum(@Param("query") SpecifiedValueRecordQuery query);

    List<PropertyAlarmNumVO> countAlarmNum(@Param("query") CrsmSpecialityQuery query);

    List<DailyPropertyAlarmNumVO> listDailyAlarmNum(@Param("query") CrsmDailyAlarmQuery query);
}
